package com.backstage.dao;

import com.backstage.pojo.Scope;
import com.backstage.utils.PageBean;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ScopeMapper {
    int deleteByPrimaryKey(Integer scopeid);

    int insert(Scope record);

    int insertSelective(Scope record);

    Scope selectByPrimaryKey(Integer scopeid);

    int updateByPrimaryKeySelective(Scope record);

    int updateByPrimaryKey(Scope record);

    @Select("select count(*) from scope_table")
    int selectScopeTotal();

    List<Scope> selectScopeList(Scope record);
}